PhpOffice\PhpSpreadsheet\Reader\Csv B

Total Complexity 94
Dependencies 8
Dependents 1
Total lines 633
Lines of code 334
Logical lines of code 201
Comment lines 128
Methods 40
Properties 12

Methods 40

Method Rating Maintainability Complexity Lines of code
loadStringOrFile()
A
43 11 49
convertFormattedNumber()
A
52 8 23
convertBoolean()
S
61 7 11
openFileOrMemory()
S
54 6 21
inferSeparator()
S
58 4 16
checkSeparator()
S
61 4 11
canRead()
S
55 3 20
guessEncodingTestNoBom()
S
65 4 8
setAutoDetect()
S
64 4 10
guessEncodingNoBom()
S
60 3 12
listWorksheetInfo()
S
53 2 23
guessEncoding()
S
68 3 7
guessEncodingTestBom()
S
68 3 7
guessEncodingBom()
S
60 2 12
openDataUri()
S
68 2 7
setEnclosure()
S
69 2 7
__construct()
S
69 2 7
skipBOM()
S
70 2 6
castFormattedNumberToNumeric()
S
77 1 4
getContiguous()
S
82 1 3
setPreserveNullString()
S
77 1 4
getConstructorCallback()
S
80 1 3
setInputEncoding()
S
77 1 4
getInputEncoding()
S
82 1 3
setFallbackEncoding()
S
77 1 4
getFallbackEncoding()
S
82 1 3
getEscapeCharacter()
S
82 1 3
setEscapeCharacter()
S
77 1 4
setContiguous()
S
77 1 4
loadIntoExisting()
S
79 1 3
setSheetIndex()
S
77 1 4
getSheetIndex()
S
82 1 3
loadSpreadsheetFromFile()
S
75 1 4
getEnclosure()
S
82 1 3
setDelimiter()
S
77 1 4
getDelimiter()
S
82 1 3
loadSpreadsheetFromString()
S
74 1 4
setConstructorCallback()
S
80 1 3
setTestAutoDetect()
S
77 1 4
getPreserveNullString()
S
82 1 3